#include<stdio.h>
#include<stdlib.h>
int main()
{
  unsigned int ilen;
  ilen = 0x8fffffff;
  unsigned int ticks_per_day;
  ticks_per_day = 24 * 60 * 60 * 100;
  fprintf(stdout,"Ticks per day is %u\n",ticks_per_day);
  fprintf(stdout,"Max value of signed 32bit integer is %u\n",ilen);
  fprintf(stdout,"So %u days will overflow\n",ilen/ticks_per_day);
  exit(0);
}
